.container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f5f5f5;
}

.navbar {
  background: white;
  border-bottom: 1px solid #eee;
}

.searchContainer {
  padding: 12px 16px;
  background: white;
  border-bottom: 1px solid #eee;
}

.listContainer {
  flex: 1;
  overflow: hidden;
  padding: 8px 16px;
}

.listItem {
  margin-bottom: 12px;
  padding: 0;
}

.deviceCard {
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0f0f0;
}

.cardHeader {
  padding: 16px 16px 8px 16px;
  border-bottom: 1px solid #f5f5f5;
}

.deviceInfo {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.deviceId {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.statusTag {
  border-radius: 12px;
  font-size: 12px;
  padding: 2px 8px;
}

.cardContent {
  padding: 12px 16px 16px 16px;
}

.infoRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.infoRow:last-child {
  margin-bottom: 0;
}

.label {
  font-size: 14px;
  color: #666;
  font-weight: 400;
}

.value {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  text-align: right;
  max-width: 60%;
  word-break: break-all;
}

.loadingText {
  text-align: center;
  padding: 16px;
  color: #999;
  font-size: 14px;
}

.noMoreText {
  text-align: center;
  padding: 16px;
  color: #ccc;
  font-size: 12px;
}

/* 状态标签颜色 */
:global(.adm-tag-success) {
  background-color: #f6ffed;
  border-color: #b7eb8f;
  color: #52c41a;
}

:global(.adm-tag-default) {
  background-color: #fafafa;
  border-color: #d9d9d9;
  color: #666;
}

:global(.adm-tag-warning) {
  background-color: #fffbe6;
  border-color: #ffe58f;
  color: #faad14;
}

:global(.adm-tag-danger) {
  background-color: #fff2f0;
  border-color: #ffccc7;
  color: #ff4d4f;
}

/* 响应式设计 */
@media (max-width: 480px) {
  .searchContainer {
    padding: 8px 12px;
  }
  
  .listContainer {
    padding: 8px 12px;
  }
  
  .deviceId {
    font-size: 15px;
  }
  
  .label, .value {
    font-size: 13px;
  }
}